def removeDictsNone(dicts):
    """
    移除dict中的None
    :return:
    """
    list1 = []
    for keys in dicts:
        if dicts[keys] is None:
            list1.append(keys)
    for keys in list1:
        dicts.pop(keys)
    return dicts


def removeDictsAllNull(dicts):
    """
    移除 None 和 ''
    :return:
    """
    list1 = []
    for keys in dicts:
        if not dicts[keys]:
            list1.append(keys)
    for keys in list1:
        dicts.pop(keys)
    return dicts
